<form action="index.php?controlador=iniciar" method="post">
<?php
if($_SESSION["browser"]=="iPhone")
{
echo "<div style='width:500px;'>";	
}
?>
<table>
<tr>
<td colspan="2"><b>Iniciar sesion</b>
</td>
</tr>
<tr><td>
  <table align="center">
    <tr>
      <td>Usuario:</td>
      <td><input name="user" type="text" id="user" /></td>
    </tr>
    <tr>
      <td>Password:</td>
      <td><input type="text" id="pass" name="pass" /></td>
    </tr>
    <tr>
      <td colspan="2"><div align="center">
        <input name="Entrar" type="submit" id="Entrar" value="Entrar" />
      </div></td>
    </tr>
    <tr>
    </tr>
  </table>
  </td></tr>
</table>
<?php
if($_SESSION["browser"]=="iPhone")
{
echo "</div>";	
}
?>
</form>